<template>
	<view>
		<view class="content">
			<rich-text :nodes="content" >{{content}}</rich-text>
		</view>
		<view class="copyright">
			<p>Copyright©2023衣之光回收版权所有</p>
		</view>

	</view>
</template>
<script>
	export default {
		data() {
			return {
				content:'',
			};
		},
		onShow() {
			uni.showLoading({
				title: '请稍后'
			})
			this.$api.http.get('common-privacy', {key:'RECYCLE'}).then(res => {
				if(res.code ==1){
					this.content =  decodeURIComponent(res.data.content.content);
				}
			})
			uni.hideLoading();	
		},
		onLoad() {},
		methods: {},
		content:'',
	}
</script>

<style lang="scss">
	page {
		background: #fff;
	}

	.content {
		margin: 0 4%;
		width: 92%;
		color: #333;
		font-size: 28upx;
		line-height: 48upx;
	}

	.content p {
		margin-top: 15rpx;
		text-indent: 2em;
	}

	.content p.bold {
		font-weight: bold;
	}

	.copyright {
		width: 100%;
		text-align: center;
		margin: 50rpx auto;

		p {
			color: #999;
			font-size: 24upx;
		}
	}
</style>